<?php

namespace App\Providers;

use App\Http\Traits\Status;
use Illuminate\Support\ServiceProvider;
use App\Models\Task;
use View,Session;

class AppServiceProvider extends ServiceProvider
{
    use Status;
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        
        $taskStatus = Status::taskStatus();        
        View::share('taskStatus',$taskStatus);  
       
                              


    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}
